Finding Available License Features From a License Manager

Customer end users and administrators often need to know what license features are included on a particular license. Use these API calls to display the features.

This section describes the prerequisites:

Include Libraries

Licensing library specific to your platform, including the dependent libraries specific to your environment.

Include Header File(s)

lserv.h

Declare Variables
unsigned char   *feature_name;
unsigned char   *version;
int              index=0;
VLSfeatureInfo   feature_info;
int              retCode=0;
API Calls

>VLSinitialize();

>feature_info.structSz=sizeOf(feature_info);

> while(rc!= VLS_NO_MORE_FEATURES)

>VLSgetFeatureInfo(feature_name, version, index, NULL, &feature_info);

>Printf("License expiry date is:%ul", feature_info.feature_name);